package com.lyy.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.lyy.system.entity.ProductCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductCategoryMapper extends BaseMapper<ProductCategory> {

    /**
     * 查询商品类别表（模糊查询）
     * @param wrapper
     * @return
     */
    List<ProductCategory> findProductCategoryList(@Param(Constants.WRAPPER) QueryWrapper<ProductCategory> wrapper);
}
